IModel.GetFieldValuesByFieldTag method

Namespace: NextDesign.Core

Description

Gets an enumeration of values for the field with the specified tag. When there are multiple fields with the corresponding tags, the enumeration of the values of all the fields is combined and returned. This method does not evaluate IContextOption.PlModelAccessMode. Note that the product will also return any invalid elements.

Returns an empty collection if no such field value exists.

The data type of the field to which the tag targeted by this method is added is arbitrary. Therefore, the enumeration returned by this method is of type object. When using it, it is necessary to convert to the optimum data type.

argument

Name Type Description
fieldTag string Field tag name
If null or an empty string is specified, the return value of this method will be an empty collection.
value string String representation of the tag value
The default value is null.
If null or empty string is specified, it is evaluated only by the presence or absence of tag for the field.

Return value

  • IEnumerable < object >